<ui:composition xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:form prependId="false">
        <p:menubar autoDisplay="false">
            <p:menuitem  ajax="true" icon="ui-icon-home" value="#{label['home']}" action="listarFicha" actionListener="#{pManagedBean.closeConversation}" />
            <p:submenu label="#{label['cadastro']}" icon="ui-icon-document">
                <p:menuitem ajax="true" value="#{label['cadastro.motivo']}" action="listarMotivo" actionListener="#{pManagedBean.closeConversation}" />
                <p:menuitem ajax="true" value="#{label['cadastro.unidade']}" action="listarUnidade" actionListener="#{pManagedBean.closeConversation}" />
            </p:submenu>
            <p:submenu label="Gerenciamento" icon="ui-icon-folder-open">
                <p:menuitem  ajax="true" icon="ui-icon-check" value="#{label['enviar']}" action="#{profissionalView.actionEnviar()}" actionListener="#{pManagedBean.closeConversation}" />
                <p:menuitem  ajax="true" icon="ui-icon-print" value="#{label['ficha.reimp']}" action="printFichas" actionListener="#{pManagedBean.closeConversation}"/>
                <p:menuitem  ajax="true" icon="ui-icon-wrench" value="#{label['prof.titulo']}" action="listarProfissionais" actionListener="#{pManagedBean.closeConversation}"/>
            </p:submenu>
        </p:menubar>
    </h:form>
</ui:composition>


